package com.pic.others.domain.dto.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.pic.common.constants.RegexConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "用户详情")
public class UserDTO {
    @ApiModelProperty(value = "用户id",example = "1")
    @JsonSerialize(using = ToStringSerializer.class)
    private long userId;

    private String name;

    private LocalDate birthday;

    private Integer sex;

    private String sign;



}
